A1 = readmatrix('NiI2_bulk_20Vcool_0Vwarm.txt')
A2 = readmatrix('NiI2_bulk_-20Vcool_0Vwarm.txt')

x1 = A1(:,1)
y1 = A1(:,2)

x2 = A2(:,1)
y2 = A2(:,2)

hold on
xlim([50, 65])
plot(x1,y1,'Linewidth',1,'Color',[0.8 0 0])
plot(x2,y2,'Linewidth',1,'Color',[0 0 0.8])
xlabel('Temperature [K]')
ylabel('Pyroelectric Current [pA]')
legend('20V', '-20V')
set(gca,'XMinorTick','on','YMinorTick','on')
legend boxoff
box on
hold off

set(gcf,'Position',[0, 0, 200, 200])